<td id="mainarea">
<div id="nav">
当前位置: <a href="?action=default">管理首页</a> <span>&gt;</span> <a href="?action=recommendlist">推荐位置管理</a> <span>&gt;</span> 添加<font color="red">［<?=$lname?>］</font>推荐
</div>
<div class="block">
<script language="javascript" src="./include/js/validate.js"></script>
<form name="form1" action="?action=recommend&op=addsave" method="post" enctype='multipart/form-data' onSubmit="return Validator.Validate(this,3)">
<input name="lid" type="hidden" value="<?=$lid?>" />
<input name="lname" type="hidden" value="<?=$lname?>" />
  <table width="100%" border="0" align="center">
    <tr>
      <td colspan="2"><strong>添加推荐到［<?=$lname?>］</strong> <span style="color:red;">字数限制：<?=$fontnum?> <? if ($width != NULL){?>图片宽：<?=$width?> 高：<?=$height?><? }?></span></td>
    </tr>
    <tr>
      <td width="45">标题</td>
      <td><input type="text" name="subject" maxlength="<?=$fontnum?>" size="60" dataType="Require" msg="不能为空"/></td>
    </tr>
	<tr>
	  <td>简介</td>
	  <td><textarea name="summary" cols="80" rows="8"></textarea></td>
	</tr>
	<tr>
	  <td>链接地址</td>
	  <td><input name="url" type="text" size="60" dataType="Require" msg="不能为空" />请以“http://”开头</td>
	</tr>
	<? if ($width){?>
	<tr>
	  <td>图片地址</td>
	  <td><input name="uploadimg" type="file" /></td>
	</tr>
	<? }?>
    <tr>
      <td colspan="2"><button value="true" type="submit" class="submit" name="Submitted" title="提交">提交</button></td>
    </tr>
  </table>
</form>
</div>